import static java.lang.System.out;

public class ClassInfo {
    public static void main(String[] args) {
        Class clz = String.class;
        out.println("绫诲悕绉帮細" + clz.getName());
        out.println("鏄惁涓烘帴鍙??:" + clz.isInterface());
        out.println("鏄惁涓哄熀æ°绫诲瀷锛??" + clz.isPrimitive());
        out.println("鏄¯鍚︿负鏁扮粍瀵硅薄锛??" + clz.isArray());
        out.println("鐖剁被鍚嶇О锛??" + clz.getSuperclass().getName());
    }
}

